package ru.xeden.web.model;

public class ModelAndView
{
    private ModelMap modelMap;
    private String viewId;

    public ModelAndView()
    {
        this(null, new ModelMap());
    }

    public ModelAndView(String viewId, ModelMap modelMap)
    {
        this.viewId = viewId;
        this.modelMap = modelMap;;
    }
    
    public void setViewId(String viewId)
    {
        this.viewId = viewId;
    }
    
    public ModelMap getModelMap()
    {
        return modelMap;
    }
    
    public String getViewId()
    {
        return viewId;
    }

}
